function shopData() {
    this.shop_title = "商店";
    this.shop_down_data = [
        {
            text: "月卡",
            id: 0,
        }, {
            text: "补给",
            id: 1,
        }, {
            text: "能量",
            id: 2,
        }, {
            text: "限时",
            id: 3,
        }, {
            text: "特惠",
            id: 4,
        }, {
            text: "金币",
            id: 5,
        }, {
            text: "钻石",
            id: 6,
        },
    ];
    /*  type=1 表示的是一个goods，
        type=2:表示的是2个goods2竖向排列，
        type=3:表示的是超过2个goods2网格排列
        type==4:表示的是超过1个goods1进行横向排列
    */
    this.shop_center_data = [
        {
            type: 2,
            data: [
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",

                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
            ],
            btndsc:"月卡",
        },
        {
            type: 1,
            data: [
                {
                    title:"超大补给箱",
                    goods_icon:"box_3",
                    limit_num:4,
                    limit_Allnum:30,
                    buy_icon:"diamond",
                    buy_num:120,
                },
            ],
            btndsc:"补给",

        },
        {
            type: 3,
            data: [
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
            ],
            btndsc:"能量",
        },
        {
            type: 3,
            data: [
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
            ],
            btndsc:"限时",
        },
        {
            type: 2,
            data: [
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },

            ],
            btndsc:"特惠",
        },
        {
            type: 3,
            data: [
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },

            ],
            btndsc:"金币",
        },
        {
            type: 3,
            data: [
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120金币",
                    goods_icon:"diamond_1",
                    Price_icon:"diamond",
                    goods_price:"￥11",
                },
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },
                {
                    goods_Num:"120钻石",
                    goods_icon:"diamond_3",
                    Price_icon:"diamond",
                    goods_price:"$6",
                },

            ],
            btndsc:"钻石",
        },
    ]

}

var _instance = null;
module.exports = function () {
    if (!_instance) {
        _instance = new shopData();
    }
    return _instance;
};